home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Tutorial Material
/
Zone Tutorial
/
Structure Examples
/
4. Demo1a
< prev
next >
Wrap
Lisp/Scheme
|
1998-10-26
|
551b
|
35 lines
; demo1a - try compiling all combinations of mel & rhy.
; this version uses the compile-instrument function
(setq tonals
(activate-tonality (chromatic c 4) (major c 4) (c maj maj7 2 4)
(b& min 7 1 3) (aeolian f 3)))
(setq mela '(a b c d))
(setq melb '(a b = c = d))
(setq rhya '(1/16))
(setq rhyb '(1/8 1/16 1/16 1/4 1/8 1/8))
(def-rhythm
solo rhya "---- --- - --- -" mela
)
(def-tonality
solo tonals
)
(def-zone
solo '(1/1 1/1 1/2 1/2 1/1)
)
(compile-instrument-p "ccl;output:" "demo1a"
solo
)